package com.bdqn.mapper;

import com.bdqn.entity.PsUser;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dede
 * @since 2020-05-22
 */
public interface PsUserMapper extends BaseMapper<PsUser> {
	
	IPage<PsUser> qwer(IPage<PsUser> page, @Param("ew") QueryWrapper<PsUser> queryWrapper);

	PsUser checkLogin( @Param("ew") QueryWrapper<PsUser> qw);

	List<PsUser> selectRole(@Param("ew") QueryWrapper<PsUser> qw);

	PsUser selectCode(@Param("ew")QueryWrapper<PsUser> qw);
}
